package com.Properties;

public class MerData {
    // 商户号
    private static final String AGENT_ID = "1664502";
    // 商户md5密钥
    private static final String MD5_KEY = "D18B6592CD2F4E128C1F5F18";
    // 商户3des密钥
    private static final String DES_KEY = "C1213238BE4940E1932C123E";

    // 获取商户号
    public String getAgentId() {
        return AGENT_ID;
    }

    // 获取md5密钥
    public String getMd5Key() {
        return MD5_KEY;
    }

    // 获取3des密钥
    public String getDesKey() {
        return DES_KEY;
    }

    // 主方法示例
    public static void main(String[] args) {
        try {
            MerData merData = new MerData();
            System.out.println("商户号: " + merData.getAgentId());
            System.out.println("md5密钥: " + merData.getMd5Key());
            System.out.println("3des密钥: " + merData.getDesKey());
        } catch (Exception e) {
            System.err.println("发生错误: " + e.getMessage());
        }
    }
}
